﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FileManger.aspx.cs" Inherits="CNVP.JShop.Web.Admin.Template.FileManger" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
            <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="IE=7" http-equiv="X-UA-Compatible" />
    <link href="../CSS/Edit.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/jquery.js" type="text/javascript"></script>
     <script type="text/javascript">
         $(function () {
             $("#btUp").click(function () {
                 var $txtFileName = $("#txtFileName");
                 if ($txtFileName.val() == "") {
                     alert("请输入名称！");
                     $txtFileName.focus();
                     return false;
                 }
             });
         })
    </script>
</head>
<body>
    <form id="form1" runat="server">
       <asp:HiddenField ID="hfCurentPath" runat="server" />
        <asp:HiddenField ID="hfCurentFile" runat="server" />
        <asp:HiddenField ID="hfAction" runat="server" />
        <div class="Content">
             <table width="100%" border="0" cellspacing="0" cellpadding="0" class="cell">
                <tr>
                    <td class="cell_group">
                        <img src="../Images/ListIconTitle.jpg" alt="" />&nbsp;您的位置：<a href="Template.aspx">模板列表</a><asp:Label ID="lbTitle" runat="server"></asp:Label>
                    </td>
                </tr>
                </table>
                     <table border="0" cellpadding="0" cellspacing="0" class="division">
                        <tr>
                            <th>
                                名称:</th>
                            <td>
                                <asp:TextBox ID="txtFileName" runat="server" />
                                </td>
                        </tr>
                        <tr id="FileContent" runat="server">
                            <th>
                                文件内容:<asp:Label ID="lbFileContent" runat="server"></asp:Label></th>
                            <td>
                                <asp:TextBox ID="txtFileContent" runat="server" Height="400px" 
            TextMode="MultiLine" Width="100%"></asp:TextBox>
                                </td>
                        </tr>

                    </table> 
                    <div class="EditBtn">
                    <asp:Button ID="btUp" runat="server" Text="提交" OnClick="btUp_Click" />
                                <input type="button" value="取消" onclick="javascript:history.go(-1)" />
                                </div>
        </div>
    </form>
</body>
</html>
